66ws

Category: Design Pattern

Observer Pattern 3-23

2020-12-01


In programming, there is a lot of case that need to update information if data had changed. Well, it is Observer Pattern that I will descript in this post. Feature: - update information if data has

Builder Pattern 2-23

2020-05-24


In some cases we will have lots of args to initialize a class, this suppose to be: - initialization with parts of args - easily extend - method chaining ```py class People: def __init__( self,

Singleton Pattern 1-23

2020-04-03


In some cases we will need a "settings" to transmit args, this "settings" suppose to be: - Containing many types, a class would be fine. - Can get it anywhere, better not using arguments. - Threa

Design Pattern 0-23

2020-04-02


This series will be a lengthy one because no one knows if it can be completed. These are all my opinions, not official or most other people thought. If you are interested in it but feeling incompre

Category / Archives